dicTXL={'小新':['13913000001','18191220001'],
        '小亮':['13913000002','18191220002'],
        '小刚':['13913000003','18191220003']
        }
dicOther={'大刘':['13914000001','18191230001'],
          '大王':['13914000002','18191230002'],
          '大张':['13914000003','18191230003']
          }
dicTXL.update(dicOther)
dicWX={'小新':'xx9907',
       '小刚':'ganf1004',
       '大王':'jack_w',
       '大刘':'liu666'}
for key in dicTXL.keys():
    for key1 in  dicWX.keys():
        if key==key1:
            dicTXL[key].append(dicWX[key1])
dicTXL['小亮'].append('13913000002')
dicTXL['大张'].append('13914000003')
dicTXL['大王'][0]='13914000004'
print(dicTXL)
name=input("输入要查询同学的姓名:")
for key in dicTXL.keys():
    if key==name:
        print("姓名:{}  手机:{}  微信:{}".format(key,dicTXL[key][0],dicTXL[key][1],dicTXL[key][2]))
        break
    if key=='大刘':
        print("没有该同学的联系方式！")
